package com.dzy.api;

import com.dzy.VO.TradeVO;
import com.dzy.model.TbOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("dongdongshop-order-service")
public interface OrderAPI {

    @RequestMapping("/order/setTradeNo")
    public void setTradeNo(@RequestBody TradeVO tradeVO);

    @RequestMapping("/order/cancelOrder")
    public void cancelOrder(@RequestParam String outTradeNo);


}
